<%
def bar = sideBars.sideBars[guiContext.sideBarKey];
if (null == bar) {
    return;
}
bar.linkGroups.each {sideLinkGroup->
%>
    <div class="ui-navigator-tree">
    <% if(sideLinkGroup.custom==null){ %>
        <h2><%~ sideLinkGroup.label %></h2>
        <ul class="folder">
        <% sideLinkGroup.links.each({sideLink-> %>
            <li>
                <% if(guiContext.sideBarGroupLinkKey==sideLink.key) {%>
                        </b>
                <% } %>
            </li>
        <% }) %>
    <% } else
        out.print render("frame/group_custom.html.gst",["moType":moType,"custom":sideLinkGroup.custom])
    %>
    </div>
<% } %>
